package commun;

import java.io.Serializable;

public class Compte implements Serializable{

    private String id;
    private String password;
    private int solde;

    public Compte(){}

    public Compte(String nom, String password){
	this.id = nom;
	this.password = password;
    }

    public Compte(String nom, String password, int solde){
	this.id = nom;
	this.password = password;
	this.solde = solde;
    }

    public String getID(){
	return this.id;
    }

    public void setID(String value){
	this.id = value;
    }

    public String getPassword(){
	return this.password;
    }

    public void setPassword(String value){
	this.password = value;
    }  

    public int getSolde(){
	return this.solde;
    }

    public void setSolde(int value){
	this.solde = value;
    }  
}
